package com.rory.service.serviceInterfaceImpl;

import com.rory.dao.expand.UserDao;
import com.rory.dao.generate.UserMapper;
import com.rory.entity.generate.User;
import com.rory.service.CrudService;
import com.rory.service.serviceInterface.IndexService;
import org.springframework.stereotype.Service;

/**
 * class: indexSevice.
 * Created by Rory on 2016/11/14.
 * use:  .
 * other:  .
 */
@Service
public class IndexServiceImpl extends CrudService<UserMapper, User> implements IndexService {

    public User getInfo(String p) {
        User user = getByKey(1);
        return user;
    }
}
